package com.qulai.amazon_us.domain.basic;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qulai.common.annotation.Excel;
import com.qulai.common.core.domain.BaseEntity;

/**
 * 品牌库对象 basic_brand
 *
 * @author hunan
 * @date 2025-01-30
 */
public class Brand extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @Excel(name = "ID")
    private Long id;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 来源 */
    @Excel(name = "来源")
    private String origin;

    private String nameEqual;

    public void setNameEqual(String nameEqual) {
        this.nameEqual = nameEqual;
    }

    public String getNameEqual() {
        return nameEqual;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setName(String name)
    {
        if (name != null ) {
            this.name = name.trim();
        }else {
            this.name = null;
        }


    }

    public String getName()
    {
        return name;
    }
    public void setOrigin(String origin)
    {
        if (origin != null ) {
            this.origin = origin.trim();
        }else {
            this.origin = null;
        }
    }

    public String getOrigin()
    {
        return origin;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("status", getStatus())
                .append("name", getName())
                .append("origin", getOrigin())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("updateBy", getUpdateBy())
                .toString();
    }
}
